package com.io;

import java.io.File;
import java.io.IOException;

public class FileDemo01 {

    public static void main(String[] args) throws IOException {
//        File file = new File("D:\\dev\\file.txt");
        File file = new File("D:\\dev\\1");
        System.out.println("file.isDirectory() = " + file.isDirectory());

//        if(file.exists()) {
//            file.delete();
//        } else {
//            file.mkdirs();
//        }

    }
}
